package com.chat.common;

import java.io.Serializable;
/*
  表示客户端和服务端通信时的消息对象
 */
public class Message implements Serializable {
      private static final long serialVersionUID=1L;
      private String mesType;//消息类型
      private Object data;

      public String getMesType() {
            return mesType;
      }

      public void setMesType(String mesType) {
            this.mesType = mesType;
      }

      public Object getData() {
            return data;
      }

      public void setData(Object data) {
            this.data = data;
      }
}
